# BlueALSA - Makefile.am
# Copyright (c) 2016-2021 Arkadiusz Bokowy

SUBDIRS = aplay rfcomm

bin_PROGRAMS =

if ENABLE_A2DPCONF
bin_PROGRAMS += a2dpconf
a2dpconf_SOURCES = \
	../src/shared/a2dp-codecs.c \
	../src/shared/hex.c \
	a2dpconf.c
a2dpconf_CFLAGS = \
	-I$(top_srcdir)/src
a2dpconf_LDADD = \
	@BLUEZ_LIBS@
endif

if ENABLE_HCITOP
bin_PROGRAMS += hcitop
hcitop_CFLAGS = \
	@BLUEZ_CFLAGS@ \
	@LIBBSD_CFLAGS@ \
	@NCURSES_CFLAGS@
hcitop_LDADD = \
	@BLUEZ_LIBS@ \
	@LIBBSD_LIBS@ \
	@NCURSES_LIBS@
endif
